Skip to content

build(infra): add contrib package discovery script#187

Closed
lan17 wants to merge 4 commits intofeature/contrib-makefile-contractfrom
feature/contrib-discovery
Closed

build(infra): add contrib package discovery script#187
lan17 wants to merge 4 commits intofeature/contrib-makefile-contractfrom
feature/contrib-discovery

Conversation

@lan17
Copy link
Copy Markdown
Contributor

@lan17 lan17 commented Apr 21, 2026

Summary

  • add a stdlib-only scripts/contrib_packages.py helper with list, names, matrix, and verify commands
  • discover real contrib packages from evaluators/contrib/*/pyproject.toml while excluding template
  • add budget and cisco to root semantic-release version_toml

Why

This centralizes contrib package discovery for later Makefile, CI, and release work and makes wiring drift explicit when a contrib package is missing from root packaging metadata.

Validation

  • python3 scripts/contrib_packages.py list
  • python3 scripts/contrib_packages.py names
  • python3 scripts/contrib_packages.py matrix
  • python3 scripts/contrib_packages.py verify (currently fails on main because evaluators/builtin/pyproject.toml is still missing the budget extra and uv source wiring, which this PR intentionally does not edit)
  • temporary failure-path check: removed the cisco root version_toml entry locally, confirmed verify reported it, then restored the file
  • python3 -m py_compile scripts/contrib_packages.py

Impact

Later automation can consume names for shell iteration and matrix for JSON-driven CI/release fan-out, while verify remains the drift gate for root wiring.

Design Context

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@lan17 lan17 changed the title [codex] Add contrib package discovery script build(contrib): add package discovery script Apr 21, 2026
@lan17 lan17 changed the title build(contrib): add package discovery script build(infra): add contrib package discovery script Apr 21, 2026
@lan17 lan17 force-pushed the feature/contrib-discovery branch from 2140b90 to 29f6ced Compare April 21, 2026 04:49
@lan17 lan17 changed the base branch from main to feature/contrib-makefile-contract April 21, 2026 04:49
@lan17
Copy link
Copy Markdown
Contributor Author

lan17 commented Apr 21, 2026

Superseded by #193, which rolls up this reviewed stack into one PR while preserving the logical commit boundaries for review.

@lan17 lan17 closed this Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant